package designmodel.creator.factorymethod;

public class MainTest {
    public static void main(String[] args) {
        Factory factory = new Factory();
        factory.getService(1).doSomeThing(1);
        factory.getService(2).doSomeThing(2);
        factory.getService(3).doSomeThing(3);
    }
}
